cc_binary(
  name = 'a',
  srcs = ['a.cc'],
  deps = [':la'],
)

cc_binary(
  name = 'b',
  srcs = ['a.cc'],
  deps = [':lb'],
)

cc_library(
    name = 'la',
    srcs = ['c.cc'],
    hdrs = ['c.h'],
)
cc_library(
    name = 'lb',
    srcs = ['c.cc'],
    hdrs = ['c.h'],
)
